package world.ztomorrow.user.constant;

public class CacheConstant {

    public static final String IMAGE_UPLOAD_DIRECTORY = "image";

    /**
     * 登录注册功能常量
     */
    public static String REDIS_VERIFY_CODE = "cache:verifyCode:";
    public static Long REDIS_VERIFY_CODE_TTL = 4L;

    /**
     * 用户信息
     */
    public static String CAFFEINE_USER_INFO = "caffeineUserInfo";
    public static long CAFFEINE_USER_INFO_TTL = 15L;
    public static String REDIS_USER_INFO = "book:user:info:";
    public static long REDIS_USER_INFO_TTL = 20L;
}
